package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Date 2023/10/26 11:03
 */
@Repository
public interface UserMapper  extends BaseMapper<User> {
//    List<User> query();
//
//
//    Integer queryId();

    /**
     * 有问题
     * @param users
     */
    void inserts2(@Param("list") List<User> users);
//    void inserts2(@Param("user") User user);
}
